package com.san.hkhospital.controller;
import com.san.hkhospital.entity.Exaitem;
import com.san.hkhospital.service.ExaitemService;
import com.san.hkhospital.service.ExamineService;
import com.san.hkhospital.service.impl.ExaitemServiceImpl;
import com.san.hkhospital.vo.ResultVO;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
* (exaitem)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/exaitem")
public class ExaitemController {
/**
* 服务对象
*/
@Resource
private ExaitemServiceImpl exaitemServiceImpl;
@Resource
private ExaitemService exaitemService;

    @GetMapping
    public ResultVO exaitemidList(){
       List<Exaitem> exaitemidList =  exaitemService.exaitemidList();
       return ResultVO.success("检查编号查询成功！",exaitemidList);
    }

}
